// 数据的导出
export const image_server_url = "http://localhost:3000/static/"

export const imagePath = {
	"ic_eshop": "ic_eshop.png",
	"ic_scan": 'ic_scan.png',
	"ic_search": 'ic_search.png',
	"product001": 'product001.png',
	"product002": 'product002.png',
	"product003": 'product003.png',
	"product004": 'product004.png',
	"product005": 'product005.png',
}

for (let prop in imagePath) {
	let val = imagePath[prop];
	val = image_server_url + val;
	imagePath[prop] = val;
}

export const prodList = [{
		id: 1,
		name: '商品1',
		intro: '[XX20e】XX5000mAh大电池6.3英寸高清大屏',
		price: 1899,
		pic: imagePath.product001,
		picList: [
			imagePath.product001,
			imagePath.product002,
			imagePath.product003,
		],
		tag: '赠送积分'
	},
	{
		id: 2,
		name: '商品2',
		intro: '大电池6.3英寸高清大屏本电脑XXXXBook13...',
		price: 5199,
		pic: imagePath.product002,
		picList: [
			imagePath.product003,
			imagePath.product004,
			imagePath.product005,
		],
		tag: '新品'
	},
	{
		id: 3,
		name: '商品3',
		intro: 'XXXXBook13笔记本电脑',
		price: 5199,
		pic: imagePath.product003,
		picList: [
			imagePath.product001,
			imagePath.product002,
			imagePath.product003,
		],
		tag: '新品'
	},
	{
		id: 4,
		name: '商品4',
		intro: 'XXXXBook13笔记本电脑',
		price: 5199,
		pic: imagePath.product004,
		picList: [
			imagePath.product003,
			imagePath.product004,
			imagePath.product005,
		],
		tag: '赠送积分'
	},
	{
		id: 5,
		name: '商品4',
		intro: 'XXXXBook13笔记本电脑',
		price: 5199,
		pic: imagePath.product004,
		picList: [
			imagePath.product003,
			imagePath.product004,
			imagePath.product005,
		],
		tag: '赠送积分'
	},
	{
		id: 6,
		name: '商品4',
		intro: 'XXXXBook13笔记本电脑',
		price: 5199,
		pic: imagePath.product004,
		picList: [
			imagePath.product003,
			imagePath.product004,
			imagePath.product005,
		],
		tag: '赠送积分'
	}
]